package com.syl.practice.globalexception.common.config;

import com.syl.practice.configuration.pojo.Animal;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *  该实体类是为了测试configuration
 */
@Configuration
public class MyConfig2 {

    @Bean
    public Animal getAnimal() {
        return new Animal("雪豹", "猫科");
    }
}
